package com.bkgy.controller.allprocessDefect.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bkgy.controller.allprocessDefect.dao.AllprocessDefectDetailsRequest;
import com.bkgy.controller.allprocessDefect.dao.AllprocessDefectDetailsResponse;
import com.bkgy.controller.allprocessDefect.dao.AllprocessDefectRequest;
import com.bkgy.controller.allprocessDefect.dao.AllprocessDefectResponse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AllprocessDefectDetailsMapper {

    /**
     * 成材率和质量缺陷关联明细-CAL1630
     * @param query AllprocessDefectDetailsRequest
     * @return List<AllprocessDefectDetailsResponse>
     */
    List<AllprocessDefectDetailsResponse> getDefecDetailsCal1630(Page<?> page, @Param("query") AllprocessDefectDetailsRequest query);

    /**
     * 成材率和质量缺陷关联明细-CAL2150
     * @param query AllprocessDefectDetailsRequest
     * @return List<AllprocessDefectDetailsResponse>
     */
    List<AllprocessDefectDetailsResponse> getDefecDetailsCal2150(Page<?> page, @Param("query") AllprocessDefectDetailsRequest query);

    /**
     * 成材率和质量缺陷关联明细-CGL1870
     * @param query AllprocessDefectDetailsRequest
     * @return List<AllprocessDefectDetailsResponse>
     */
    List<AllprocessDefectDetailsResponse> getDefecDetailsCgl1870(Page<?> page, @Param("query") AllprocessDefectDetailsRequest query);

}


